package com.wanmait.demo.mapper;

import com.github.pagehelper.PageInfo;
import com.wanmait.demo.pojo.RepairOrder;import java.util.List;

public interface RepairOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RepairOrder record);

    int insertSelective(RepairOrder record);

    RepairOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RepairOrder record);

    int updateByPrimaryKey(RepairOrder record);
    PageInfo<RepairOrder> getAllOrder(Integer userid);
    int selectWorkerId(Integer repairOrderId);
    List<RepairOrder> selectWorkerList(Integer workerId);
    List<RepairOrder> selectList(Integer workerId);
    void delectWorkerId(Integer orderId);
    void insertinfo(int userid, String name, String telnum, String des);
}